package com.myway.components.payment.wxpay.model;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 微信退款实体类
 * @author dell
 *
 */
public class DTOWXRefundRequest implements Serializable {
	private static final long serialVersionUID = 1L;
	private String appid = "wx3b927ee2db154801";//微信分配的公众账号ID
	private String mch_id = "1239678302";//微信支付分配的商户号
	private String op_user_id = "1239678302";//操作员帐号, 默认为商户号
	private String nonce_str;//随机字符串，不长于32位。推荐随机数生成算法
	private String sign;//签名，详见签名生成算法
	private String transaction_id;//微信生成的订单号，在支付通知中有返回(二选一)
	private String out_trade_no;//商户侧传给微信的订单号(二选一)
	private String out_refund_no;//商户系统内部的退款单号，商户系统内部唯一，同一退款单号多次请求只退一笔
	private BigDecimal total_fee;//订单总金额，单位为分，只能为整数，详见支付金额
	private BigDecimal refund_fee;//退款总金额，订单总金额，单位为分，只能为整数，详见支付金额
	public String getAppid() {
		return appid;
	}
	public void setAppid(String appid) {
		this.appid = appid;
	}
	public String getMch_id() {
		return mch_id;
	}
	public void setMch_id(String mch_id) {
		this.mch_id = mch_id;
	}
	public String getOp_user_id() {
		return op_user_id;
	}
	public void setOp_user_id(String op_user_id) {
		this.op_user_id = op_user_id;
	}
	public String getNonce_str() {
		return nonce_str;
	}
	public void setNonce_str(String nonce_str) {
		this.nonce_str = nonce_str;
	}
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	public String getTransaction_id() {
		return transaction_id;
	}
	public void setTransaction_id(String transaction_id) {
		this.transaction_id = transaction_id;
	}
	public String getOut_trade_no() {
		return out_trade_no;
	}
	public void setOut_trade_no(String out_trade_no) {
		this.out_trade_no = out_trade_no;
	}
	public String getOut_refund_no() {
		return out_refund_no;
	}
	public void setOut_refund_no(String out_refund_no) {
		this.out_refund_no = out_refund_no;
	}
	public BigDecimal getTotal_fee() {
		return total_fee;
	}
	public void setTotal_fee(BigDecimal total_fee) {
		this.total_fee = total_fee;
	}
	public BigDecimal getRefund_fee() {
		return refund_fee;
	}
	public void setRefund_fee(BigDecimal refund_fee) {
		this.refund_fee = refund_fee;
	}
	
}
